package com.czxy.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    /**
     *                         `uid` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
     *                         `username` varchar(32) NOT NULL COMMENT '用户名称',
     *                         `birthday` date DEFAULT NULL COMMENT '生日',
     *                         `sex` char(1) DEFAULT NULL COMMENT '性别',
     *                         `address` varchar(256) DEFAULT NULL COMMENT '地址'
     *
     */

    private Integer uid;
    private String username;
    private Date birthday;
    private String sex;
    private String address;

    private List<Order> orderList;
}
